package com.nulldev.util.graphics.renderIt.api.envcaps;

public enum renderItOperations {
	/*
	 * F = Float S = String s = Short I = Integer D = Double O = Object TYPE =
	 * Constant ? = Optional (allow null pointers)
	 */
	/* Universal functions */

	/*
	 * bd_drawRect(X, Y, W, H, C?) bd_putPixel(X, Y, C?) bd_fillRect(X, Y, W, H, C?)
	 * bd_drawLine(I,I,I,I,C?)
	 */
	RIT_EXT_basic_drawing,
	/*
	 * bd_drawCircle bd_fillCircle bd_drawOval bd_fillOval
	 */
	RIT_EXT_basic_shapes,
	/*
	 * bd_drawPolygon(I[],I[],I,C?)
	 */
	RIT_EXT_advanced_shapes,
	/*
	 * bd_drawDefinedShape(DefinedShape,I,I,C?)
	 */
	RIT_EXT_defined_shapes,
	/*
	 * getColor():rColor setColor(rColor) setColor(I) setColor(I,I,I)
	 * setColor(D,D,D,D)
	 */
	RIT_EXT_color,
	/*
	 * getDisplayInfo():rDisplayInfo
	 */
	RIT_EXT_display_info,
	/*
	 * viewport_getWidth():I viewport_getHeight():I
	 */
	RIT_EXT_viewport_info,
	/*
	 * viewport_getXOffset():I viewport_getYOffset():I
	 */
	RIT_EXT_viewport_offset,
	/*
	 * viewport_requestSize(I,I):B viewport_requestHeight(I):B
	 * viewport_requestWidth(I):B
	 */
	RIT_EXT_viewport_control,
	/*
	 * vsync_syncToDisplay(I) vsync_isEnabled():B vsync_supportsAdaptiveSync():B
	 * vsync_set(E: {DISABLED, ENABLED, ADAPTIVE})
	 */
	RIT_EXT_vsync,
	/*
	 * rit_version():S backend_version():S
	 */
	RIT_EXT_versions,
	/*
	 * rit_damage_isEnabled():B rit_damage_setEnabled(B)
	 */
	RIT_EXT_damage_control,
	/*
	 * rit_dr_isEnabled():B rit_dr_setEnabled(B) rit_dr_requestPaint()
	 */
	RIT_EXT_deferred_rendering,
	/*
	 * rit_paint_repaint() rit_paint_suggestRepaint()
	 */
	RIT_EXT_paint_hints,
	/*
	 * rit_paint_repaintAt(I,I,I,I) rit_paint_suggestRepaintAt(I,I,I,I)
	 */
	RIT_EXT_paint_hint_selective,
	/*
	 * rit_buffer_getType():I rit_buffer_setType(I)
	 */
	RIT_EXT_buffer_control,

	/* WM functions */

	/*
	 * wm_getTitle():S wm_setTitle(S) wm_setWidth(I) wm_setHeight(I) wm_getWidth():I
	 * wm_getHeight():I wm_isFullScreen():B
	 */
	RIT_WM_window,
	/*
	 * wm_setWindowPosX(I) wm_setWindowPosY(I) wm_getPosX():I wm_getPosY():I
	 */
	RIT_WM_window_position,

	/* rIT Misc. */

	/*
	 * closeOperations()
	 */
	RIT_RIO_closable,

	/* rIt Surfaces */

	/*
	 * surface_create(X, Y, W, H):O surface_repaint(O) surface_destroy(O)
	 */
	RIT_surface_ops,
	/*
	 * surface_sync(O)
	 */
	RIT_surface_sync,

	/* AWT functions */

	/*
	 * awt_draw_surface(Panel, X, Y, W?, H?)
	 */
	RIT_AWT_surface_draw,
	/*
	 * awt_panel_setSize(I,I) awt_panel_getSizeX():I awt_panel_getSizeY():I
	 */
	RIT_AWT_panel_control,
	/*
	 * awt_getRenderMethod():I awt_setRenderMethod(I) awt_supportsRenderMethod(I):B
	 */
	RIT_AWT_render_method,
	/*
	 * awt_getCurrentFont():O
	 */
	RIT_AWT_current_font,
	/*
	 * awt_make_font(java.awt.Font):RITFont
	 */
	RIT_AWT_font_conversion,
	/*
	 * awt_getFontMetrics(RITFont):O
	 */
	RIT_AWT_font_metrics,
	/**
	 * awt_hasRenderable():B
	 */
	RIT_AWT_has_renderable,
	/*
	 * awt_drawImage(O,I,I) awt_drawImage(O,I,I,I,I)
	 */
	RIT_AWT_image_draw,
	/*
	 * awt_textWidth(S):I
	 */
	RIT_AWT_text_width,

	/* Swing functions */

	/*
	 * swing_draw_surface(JPanel, X, Y, W?, H?)
	 */
	RIT_SWING_surface_draw,
	/*
	 * swing_panel_doubleBuffer(B) swing_panel_isDoubleBuffered():B
	 * swing_panel_setSize(I,I) swing_panel_getSizeX():I swing_panel_getSizeY():I
	 */
	RIT_SWING_panel_control,
	/*
	 * swing_getRenderMethod():I swing_setRenderMethod(I)
	 * swing_supportsRenderMethod(I):B
	 */
	RIT_SWING_render_method,
	/*
	 * swing_drawImage(O,I,I) swing_drawImage(O,I,I,I,I)
	 * swing_drawImage(O,I,I,I,I,O)
	 */
	RIT_SWING_image_draw,
	/*
	 * swing_textWidth(S):I
	 */
	RIT_SWING_text_width,

	/* nullUtil functions */

	/*
	 * nullutil_draw_legacy_canvas(LegacySmoothCanvas,I,I)
	 */
	RIT_nullutil_draw_legacy_canvas,
	/*
	 * nullutil_import_video(IVideoSurface)
	 */
	RIT_nullutil_import_video,
	/*
	 * nullutil_swing_center() nullutil_swing_getRefreshRate():I
	 * nullutil_swing_stringWidth(FontMetrics,S):I
	 */
	RIT_nullutil_swing_api,

	/* Font operations */

	/*
	 * font_create(S,I,I):O font_create(S,F,I):O font_create(S,I):O
	 * font_create(S,F):O font_create(FILE):O
	 */
	RIT_font_create,
	/*
	 * font_destroy(O) font_clone(O,I,I):O font_clone(O,F,I):O font_clone(O,I):O
	 * font_clone(O,F):O font_get_format(O):I
	 */
	RIT_font_ops,
	/*
	 * supportsFontFileFormat(I)
	 */
	RIT_font_file_formats,

	/* Text operations */

	/*
	 * text_string(S,I,I,F,C?) text_shadowedString(S,I,I,F,C?)
	 */
	RIT_text_string,
	/*
	 * text_scalable(S,I,I,F,C?):I
	 */
	RIT_text_string_scalable,
	/*
	 * text_scalable(S,I,I,I,F,C?):I
	 */
	RIT_text_string_scalable_offset,
	/*
	 * text_flexible(S,I,I,F,C?,L) text_supportsOption(L):B
	 */
	RIT_text_string_flexible,
	/*
	 * text_isAAPresent():B text_setAAPresence(B)
	 */
	RIT_text_anti_aliasing,

	/* Display operations */

	RIT_display_lists,
	RIT_display_operation_list,

	/* Drawn Canvas operations */

	/*
	 * canvas_getPixel(I,I):I canvas_getPixels(I,I,I,I):I[]
	 */
	RIT_canvas_pixel_ops,
	/*
	 * canvas_copy(I,I,I,I,O):I
	 */
	RIT_canvas_copy_pixels,
	/*
	 * canvas_copyArea(I,I,I,I,I,I)
	 */
	RIT_canvas_copy_area,
	/*
	 * canvas_clear(I,I,I,I,C?) canvas_clear(Vector4f,C?)
	 * canvas_clear(Vector2f,Vector2f,C?)
	 */
	RIT_canvas_clear,

	/* Enhanced-sync */

	/*
	 * sync_isEnhanced():B sync_setEnhanced(B)
	 */
	RIT_sync_enhanced,
	/*
	 * sync_ahead(O)
	 */
	RIT_sync_ahead,

	/* OpenGL operations */

	/*
	 * gl_getVersion():S gl_getVendor():S gl_getModel():S
	 */
	GL_renderer_info,
	/*
	 * gl_syncToBlank(I)
	 */
	GL_sync_to_blank,
	/*
	 * gl_getSyncImpl():I gl_syncImpl(I)
	 */
	GL_sync_impl,
	/*
	 * gl_getClearColor():I gl_setClearColor(I) gl_setClearColor(I,I,I)
	 * gl_setClearColor(D,D,D,D)
	 */
	GL_clear_color,
	/*
	 * TYPES: GL_POINTS GL_LINES GL_LINE_STRIP GL_LINE_LOOP GL_TRIANGLES
	 * GL_TRIANGLE_STRIP GL_TRIANGLE_FAN GL_QUADS GL_QUAD_STRIP GL_POLYGON
	 * glBegin(TYPE) glEnd(TYPE)
	 */
	GL_render_control,
	/*
	 * glVertex2f(F,F) glVertex2i(I,I) glVertex2d(D,D) glVertex2s(s,s)
	 */
	GL_compat_vertex,
	/*
	 * glVertex3f(F,F,F) glVertex3i(I,I,I) glVertex3d(D,D,D) glVertex3s(s,s,s)
	 * glVertex4f(F,F,F,F) glVertex4i(I,I,I,I) glVertex4d(D,D,D,D)
	 * glVertex4s(s,s,s,s)
	 */
	GL_compat_3d_vertex,
	/*
	 * TYPES: GL_VECTOR_TYPE_COORD_FLOAT GL_VECTOR_TYPE_COORD_INT
	 * GL_VECTOR_TYPE_COORD_DOUBLE GL_VECTOR_TYPE_COORD_SHORT glTreatVectorsAs(TYPE)
	 * glGetVectorTreatment():I
	 */
	GL_compat_vectors,
	/*
	 * TYPES: GL_DIRECTION_TYPE_SWING GL_DIRECTION_TYPE_INV_Y
	 * GL_DIRECTION_TYPE_INV_X GL_DIRECTION_TYPE_INV_XY GL_DIRECTION_TYPE_INV_YX
	 * glCompatGetDirection():I glCompatSetDirection(TYPE)
	 */
	GL_compat_direction,

	/* Skia/Skija operations */

	/*
	 * skia_getColorSpace():O
	 */
	SKIA_color_space,
	/*
	 * skia_getSurfaceOrigin():O
	 */
	SKIA_surface_origin,

	/* Nitrous operations */

	/*
	 * nitrous_x11_isAccelerated():B nitrous_x11_isSHMEMAvailable():B
	 * nitrous_x11_isDGAAvailable():B
	 */
	NITROUS_X11_accel_info,
	/*
	 * nitrous_getBackend():S
	 */
	NITROUS_accel_info,

	/* flexKit operations */

	/*
	 * flexkit_css_import_style(O) flexkit_css_import_styles(O[])
	 */
	FLEXKIT_CSS_import_styles,
	/*
	 * flexkit_css_export_style():O
	 */
	FLEXKIT_CSS_export_styles,
	/*
	 * flexkit_debug_set_render_time_record(B)
	 * flexkit_debug_is_recording_render_time(B) flexkit_debug_get_render_time():L
	 */
	FLEXKIT_DEBUG_render_time,

	/* I/O operations */

	/*
	 * type: RIT_IO_keyboard rit_io_keyboard_get_key():I
	 */
	RIT_IO_keyboard_input,
	/*
	 * rit_io_keyboard_send_key(I):B
	 */
	RIT_IO_keyboard_output,
	/*
	 * type: RIT_IO_mouse rit_io_mouse_get_key():I
	 */
	RIT_IO_mouse_input,
	/*
	 * rit_io_mouse_send_key(I):B
	 */
	RIT_IO_mouse_output,
	/*
	 * rit_io_input_events_register_listener(L,TYPE):B
	 * rit_io_input_events_remove_listener(L,TYPE?):B
	 * rit_io_input_events_is_registered(L,TYPE):B
	 * rit_io_input_events_supports_type(TYPE):B
	 */
	RIT_IO_input_events,

	/* RIT 2D */

	/*
	 * createMatrix2f(F,F):Matrix3f (F, F, 0)
	 */
	RIT_2D_matrix,
	/*
	 * createVector2f(F,F):Vector2f
	 */
	RIT_2D_vector,
	/*
	 * rit_2d_drawPoint(Vector2f) rit_2d_drawLine(Vector2f,Vector2f)
	 * rit_2d_drawLine(Vector4f) rit_2d_drawRect(Vector2f,I,I)
	 * rit_2d_drawRect(Vector4f) rit_2d_fillRect(Vector2f,I,I)
	 * rit_2d_fillRect(Vector4f)
	 */
	RIT_2D_basic_drawing,

	/* RIT 3D */

	/*
	 * createMatrix3f(F,F,F):Matrix3f createMatrix3f(F,F,F,F,F,F,F,F,F):Matrix3f
	 * createMatrix4f(F,F,F,F):Matrix4f
	 * createMatrix4f(F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F):Matrix4f
	 */
	RIT_3D_matrix,
	/*
	 * createVector3f(F,F,F):Vector3f createVector4f(F,F,F,F):Vector4f
	 */
	RIT_3D_vector,
	/*
	 * rit_3d_draw_hRect(Vector4f,B) rit_3d_draw_hRect(Vector2f,Vector2f,B)
	 * rit_3d_draw_hRect(Vector2f,I,I,B) rit_3d_fill_hRect(Vector4f,B)
	 * rit_3d_fill_hRect(Vector2f,Vector2f,B) rit_3d_fill_hRect(Vector2f,I,I,B)
	 */
	RIT_3D_psuedo_basic_drawing,
	/*
	 * 
	 */
	RIT_3D_basic_drawing,

	/* Android Environment Extensions (AEE) */

	/*
	 * android_env_getVersion():S android_env_getAPILevel():I
	 */
	ANDROID_environment_info,
	/*
	 * android_renderer_isAccel():B android_renderer_name():S
	 * android_renderer_string():S
	 */
	ANDROID_renderer_info,
	/*
	 * android_battery_isSavingActive():B android_battery_isSavingActive(O):B
	 * android_battery_getValue():F android_battery_getValue(O):F
	 * android_battery_isCharging():B android_battery_isCharging(O):B
	 * android_battery_isLowPower():B android_battery_isLowPower(O):B
	 */
	ANDROID_battery_info,

	/* Android Point-based rendering */

	/*
	 * android_point_add(I,I) android_point_add(Vector2f) android_point_submit()
	 */
	ANDROID_point_draw,

	/* Linux specific instructions */

	/*
	 * linux_get_version():S linux_get_distro():S
	 */
	LINUX_environment_info,

	/* Windows specific instructions */

	/**
	 * windows_invalidateSurface()
	 */
	WINDOWS_invalidate_surface,

	/* Misc. */

	/**
	 * toolkit_flushPipeline()
	 */
	TOOLKIT_pipeline_flush,

	/* rIT Texture API */

	/*
	 * rit_texture_isSupportedFormat(I):B rit_texture_getSupportedFormats():I[]
	 */
	RIT_texture_supported_formats,

	/* renderIt GPU Memory */

	/**
	 * memory_gpu_alloc(I):RITBuffer memory_gpu_unalloc(RITBuffer):B
	 */
	RIT_memory_gpu,
	/**
	 * memory_gpu_get_flags(RITBuffer):I[] memory_gpu_has_flag(RITBuffer, I):B
	 * memory_gpu_set_flag(RITBuffer, I):B memory_gpu_unset_flag(RITBuffer, I):B
	 */
	RIT_memory_gpu_options,
	/**
	 * memory_gpu_gc(RITBuffer) memory_gpu_should_gc(RITBuffer):B
	 */
	RIT_memory_gpu_gc,

	/* renderIt CPU Memory */

	/**
	 * memory_cpu_alloc(I):RITBuffer memory_cpu_unalloc(RITBuffer):B
	 */
	RIT_memory_cpu,
	/**
	 * memory_cpu_get_flags(RITBuffer):I[] memory_cpu_has_flag(RITBuffer, I):B
	 * memory_cpu_set_flag(RITBuffer, I):B memory_cpu_unset_flag(RITBuffer, I):B
	 */
	RIT_memory_cpu_options,
	/**
	 * memory_cpu_gc(RITBuffer) memory_cpu_should_gc(RITBuffer):B
	 */
	RIT_memory_cpu_gc,

	/* renderIt Visuals API */

	/**
	 * visuals_get_current():RITVisual
	 */
	RIT_visuals_main,

	/* renderIt Media API */

	/**
	 * media_importSurface(O,I,I,I,I)
	 */
	RIT_media_drawable_vsurface,

	/* renderIt! for JavaME: LCDUI */

	/**
	 * lcdui_isGrayscale():B lcdui_setGrayscale(I) lcdui_getGrayscale():I
	 */
	RIT_LCDUI_grayscale,
	/**
	 * lcdui_getRed():I lcdui_setRed(I) lcdui_getGreen():I lcdui_setGreen(I)
	 * lcdui_getBlue():I lcdui_setBlue(I)
	 */
	RIT_LCDUI_rgb,
	/**
	 * lcdui_redraw_serially()
	 */
	RIT_LCDUI_redraw_serial,
	/**
	 * lcdui_clip_getHeight():I lcdui_clip_getWidth():I lcdui_clip_getX():I
	 * lcdui_clip_getY():I lcdui_clip_set(I,I,I,I) lcdui_clip_rect(I,I,I,I)
	 */
	RIT_LCDUI_clip,
	/**
	 * lcdui_drawSubstring(S,I,I,I,I,I,F?,C?)
	 */
	RIT_LCDUI_text_substring,
	/**
	 * lcdui_drawRegion(O,I,I,I,I,I,I,I,I)
	 */
	RIT_LCDUI_region,
}
